package com.zhc.dejingapi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhc
 * @since 2024-10-28
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("qing_injectionworkshopshifts")
@ApiModel(value = "QingInjectionworkshopshiftsEntity对象", description = "")
public class QingInjectionworkshopshiftsEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("表主键")
    @TableId(value = "main_id", type = IdType.AUTO)
    private Long mainId;

    @ApiModelProperty("记录时间")
    @TableField("writetime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime writetime;

    @ApiModelProperty("班次")
    @TableField("classes")
    private String classes;

    @ApiModelProperty("交班记录")
    @TableField("shiftsrecords")
    private String shiftsrecords;

    @ApiModelProperty("接班记录")
    @TableField("successionrecords")
    private String successionrecords;



}
